package com.simtop.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Robot {
    private int id;
    private String name;        //用户名
    private int scene;          //场景布置得分
    private int wiring;         //设备布线得分
    private int programming;    //任务编程得分
    private int example;        //实验习题得分
    private int total;          //实验得分
    private String conclusion;  //实验结论
    private int time;           //实验时长
    private Date createTime;    //创建时间
    private int star;           //评分


    private int ioScore;//io分配分数
    private String ioTime;//io分配时长
    private int experimentScore;//任务编程分数
    private String experimentTime;//任务编程时长
    private int technologyScore;//工艺试验分数
    private String technologyTime;//工艺试验时长
    private int systemScore;//系统布局分数
    private String systemTime;//系统布局时长
    private int communicationScore;//通信布线分数
    private String communicationTime;//通信布线分数
    private int principalIoScore;//主从IO分配分数
    private String principalIoTime;//主从IO分配时长
    private int cooperativeControlScore;//协同控制编程分数
    private String cooperativeControlTime;//协同控制编程时长
    private int collaborativeWeldingScore;//协同焊接实验分数
    private String collaborativeWeldingTime;//协同焊接实验时长
    private int steelWeldingScore;//钢梁焊接分数
    private String steelWeldingTime;//钢梁焊接时长


    private Integer commitScore;//评论得分


    public Robot() {
    }

    public Robot(int id, String name, int scene, int wiring, int programming, int example, int total, String conclusion, int time, Date createTime, int star, int ioScore, String ioTime, int experimentScore, String experimentTime, int technologyScore, String technologyTime, int systemScore, String systemTime, int communicationScore, String communicationTime, int principalIoScore, String principalIoTime, int cooperativeControlScore, String cooperativeControlTime, int collaborativeWeldingScore, String collaborativeWeldingTime, int steelWeldingScore, String steelWeldingTime, Integer commitScore) {
        this.id = id;
        this.name = name;
        this.scene = scene;
        this.wiring = wiring;
        this.programming = programming;
        this.example = example;
        this.total = total;
        this.conclusion = conclusion;
        this.time = time;
        this.createTime = createTime;
        this.star = star;
        this.ioScore = ioScore;
        this.ioTime = ioTime;
        this.experimentScore = experimentScore;
        this.experimentTime = experimentTime;
        this.technologyScore = technologyScore;
        this.technologyTime = technologyTime;
        this.systemScore = systemScore;
        this.systemTime = systemTime;
        this.communicationScore = communicationScore;
        this.communicationTime = communicationTime;
        this.principalIoScore = principalIoScore;
        this.principalIoTime = principalIoTime;
        this.cooperativeControlScore = cooperativeControlScore;
        this.cooperativeControlTime = cooperativeControlTime;
        this.collaborativeWeldingScore = collaborativeWeldingScore;
        this.collaborativeWeldingTime = collaborativeWeldingTime;
        this.steelWeldingScore = steelWeldingScore;
        this.steelWeldingTime = steelWeldingTime;
        this.commitScore = commitScore;
    }

    public Integer getCommitScore() {
        return commitScore;
    }

    public void setCommitScore(Integer commitScore) {
        this.commitScore = commitScore;
    }

    public String getIoTime() {
        return ioTime;
    }

    public void setIoTime(String ioTime) {
        this.ioTime = ioTime;
    }

    public String getExperimentTime() {
        return experimentTime;
    }

    public void setExperimentTime(String experimentTime) {
        this.experimentTime = experimentTime;
    }

    public String getTechnologyTime() {
        return technologyTime;
    }

    public void setTechnologyTime(String technologyTime) {
        this.technologyTime = technologyTime;
    }

    public String getSystemTime() {
        return systemTime;
    }

    public void setSystemTime(String systemTime) {
        this.systemTime = systemTime;
    }

    public String getCommunicationTime() {
        return communicationTime;
    }

    public void setCommunicationTime(String communicationTime) {
        this.communicationTime = communicationTime;
    }

    public String getPrincipalIoTime() {
        return principalIoTime;
    }

    public void setPrincipalIoTime(String principalIoTime) {
        this.principalIoTime = principalIoTime;
    }

    public String getCooperativeControlTime() {
        return cooperativeControlTime;
    }

    public void setCooperativeControlTime(String cooperativeControlTime) {
        this.cooperativeControlTime = cooperativeControlTime;
    }

    public String getCollaborativeWeldingTime() {
        return collaborativeWeldingTime;
    }

    public void setCollaborativeWeldingTime(String collaborativeWeldingTime) {
        this.collaborativeWeldingTime = collaborativeWeldingTime;
    }

    public String getSteelWeldingTime() {
        return steelWeldingTime;
    }

    public void setSteelWeldingTime(String steelWeldingTime) {
        this.steelWeldingTime = steelWeldingTime;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScene() {
        return scene;
    }

    public void setScene(int scene) {
        this.scene = scene;
    }

    public int getWiring() {
        return wiring;
    }

    public void setWiring(int wiring) {
        this.wiring = wiring;
    }

    public int getProgramming() {
        return programming;
    }

    public void setProgramming(int programming) {
        this.programming = programming;
    }

    public int getExample() {
        return example;
    }

    public void setExample(int example) {
        this.example = example;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIoScore() {
        return ioScore;
    }

    public void setIoScore(int ioScore) {
        this.ioScore = ioScore;
    }



    public int getExperimentScore() {
        return experimentScore;
    }

    public void setExperimentScore(int experimentScore) {
        this.experimentScore = experimentScore;
    }



    public int getTechnologyScore() {
        return technologyScore;
    }

    public void setTechnologyScore(int technologyScore) {
        this.technologyScore = technologyScore;
    }



    public int getSystemScore() {
        return systemScore;
    }

    public void setSystemScore(int systemScore) {
        this.systemScore = systemScore;
    }



    public int getCommunicationScore() {
        return communicationScore;
    }

    public void setCommunicationScore(int communicationScore) {
        this.communicationScore = communicationScore;
    }



    public int getPrincipalIoScore() {
        return principalIoScore;
    }

    public void setPrincipalIoScore(int principalIoScore) {
        this.principalIoScore = principalIoScore;
    }


    public int getCooperativeControlScore() {
        return cooperativeControlScore;
    }

    public void setCooperativeControlScore(int cooperativeControlScore) {
        this.cooperativeControlScore = cooperativeControlScore;
    }


    public int getCollaborativeWeldingScore() {
        return collaborativeWeldingScore;
    }

    public void setCollaborativeWeldingScore(int collaborativeWeldingScore) {
        this.collaborativeWeldingScore = collaborativeWeldingScore;
    }



    public int getSteelWeldingScore() {
        return steelWeldingScore;
    }

    public void setSteelWeldingScore(int steelWeldingScore) {
        this.steelWeldingScore = steelWeldingScore;
    }



    @Override
    public String toString() {
        return "Robot{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", scene=" + scene +
                ", wiring=" + wiring +
                ", programming=" + programming +
                ", example=" + example +
                ", total=" + total +
                ", time=" + time +
                ", createTime=" + createTime +
                ", ioScore=" + ioScore +
                ", ioTime=" + ioTime +
                ", experimentScore=" + experimentScore +
                ", experimentTime=" + experimentTime +
                ", technologyScore=" + technologyScore +
                ", technologyTime=" + technologyTime +
                ", systemScore=" + systemScore +
                ", systemTime=" + systemTime +
                ", communicationScore=" + communicationScore +
                ", communicationTime=" + communicationTime +
                ", principalIoScore=" + principalIoScore +
                ", principalIoTime=" + principalIoTime +
                ", cooperativeControlScore=" + cooperativeControlScore +
                ", cooperativeControlTime=" + cooperativeControlTime +
                ", collaborativeWeldingScore=" + collaborativeWeldingScore +
                ", collaborativeWeldingTime=" + collaborativeWeldingTime +
                ", steelWeldingScore=" + steelWeldingScore +
                ", steelWeldingTime=" + steelWeldingTime +
                '}';
    }
}
